翻訳と辞書 |
Fiber (computer science) : ウィキペディア英語版 | Fiber (computer science) In computer science, a fiber is a particularly lightweight thread of execution. Like threads, fibers share address space. However, fibers use co-operative multitasking while threads use pre-emptive multitasking. Threads often depend on the kernel's thread scheduler to preempt a busy thread and resume another thread; fibers yield themselves to run another fiber while executing. The article on threads contains more on the distinction between threads and fibers. == Fibers and coroutines == Fibers describe essentially the same concept as coroutines. The distinction, if there is any, is that coroutines are a language-level construct, a form of control flow, while fibers are a systems-level construct, viewed as threads that happen not to run in parallel. Priority is contentious; fibers may be viewed as an implementation of coroutines,〔(A Fiber Class )〕 or as a substrate on which to implement coroutines.〔(Implementing Coroutines for .NET by Wrapping the Unmanaged Fiber API ), Ajai Shankar, MSDN Magazine〕
抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)』 ■ウィキペディアで「Fiber (computer science)」の詳細全文を読む
スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース |
Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.
|
|